#pragma once


// CChatServerProxyDlg dialog
class CChatServerProxyDoc;

class CChatServerProxyDlg : public CDialog
{
	CChatServerProxyDoc*		m_pChatServerDoc;
	CLogView*			m_pLogView;
	
	CIPAddressCtrl m_ipAddress;
	DWORD m_port;
	
	DECLARE_DYNAMIC(CChatServerProxyDlg)

public:
	CChatServerProxyDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CChatServerProxyDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG_CHATSERVER_PROXY };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonConnect();
	virtual BOOL OnInitDialog();
	void			SetChatServerDoc(CChatServerProxyDoc& chatServerDoc);
	void			SetLogView(CLogView&	logView);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};
